﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using LinQ_DTO;


namespace BUS
{
    public class PersonalizationAllUsersBUS
    {
        public List<aspnet_PersonalizationAllUser> LayDanhSachPersonalizationAllUser()
        {
            PersonalizationAllUsersDAO pauDAO = new PersonalizationAllUsersDAO();
            return pauDAO.LayDanhSachPersonalizationAllUser();
        }

        public aspnet_PersonalizationAllUser LayPersonalizationAllUserTheoPathID(Guid pathID)
        {
            PersonalizationAllUsersDAO pauDAO = new PersonalizationAllUsersDAO();
            return pauDAO.LayPersonalizationAllUserTheoPathID(pathID);
        }

        public void XoaPersonalizationAllUser(Guid pathID)
        {
            PersonalizationAllUsersDAO pauDAO = new PersonalizationAllUsersDAO();
            pauDAO.XoaPersonalizationAllUser(pathID);
        }

        public void CapNhatPersonalizationAllUser(aspnet_PersonalizationAllUser pauLinq)
        {
            PersonalizationAllUsersDAO pauDAO = new PersonalizationAllUsersDAO();
            pauDAO.CapNhatPersonalizationAllUser(pauLinq);
        }

        public void ThemPersonalizationAllUser(aspnet_PersonalizationAllUser pauLinq)
        {
            PersonalizationAllUsersDAO pauDAO = new PersonalizationAllUsersDAO();
            pauDAO.ThemPersonalizationAllUser(pauLinq);   
        }
    }
}
